package com.datatools.i18n;

import java.io.Serializable;

/**
 * 国际化文本定义
 */
public abstract class BaseTextResource implements Serializable {

    private static final long serialVersionUID=1L;

    private static I18NLanguageEnum language=I18NLanguageEnum.zhCN;
    public static BaseTextResource getInstance(){
        BaseTextResource resource =null;
        switch (language){
            case en:

                break;
            case zhCN:
                resource = new zhCN();
                break;
        }
        return resource;
    }

    /**
     * 版本
     */
    protected String version;
    /**
     * 主窗体标题
     */
    protected String baseWindowTitle;

    /**
     * 文件菜单
     */
    protected String fileMenu;

    /**
     * 新建文件
     */
    protected String createFile;

    /**
     * 表
     */
    protected String table;

    /**
     * 视图
     */
    protected String view;

    /**
     * 列
     */
    protected String column;

    /**
     * 索引
     */
    protected String index;

    /**
     * 函数
     */
    protected String function;

    /**
     * 存储过程
     */
    protected String procedure;

    /**
     * 触发器
     */
    protected String trigger;

    /**
     * 请选择
     */
    protected String pleseSelect;

    /**
     * 选择执行
     */
    protected String selectedExec;

    public String getSelectedExec() {
        return selectedExec;
    }

    public void setSelectedExec(String selectedExec) {
        this.selectedExec = selectedExec;
    }

    public String getPleseSelect() {
        return pleseSelect;
    }

    public void setPleseSelect(String pleseSelect) {
        this.pleseSelect = pleseSelect;
    }

    public I18NLanguageEnum getLanguage() {
        return language;
    }

    public void setLanguage(I18NLanguageEnum language) {
        this.language = language;
    }

    public String getBaseWindowTitle() {
        return baseWindowTitle;
    }

    public void setBaseWindowTitle(String baseWindowTitle) {
        this.baseWindowTitle = baseWindowTitle;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getFileMenu() {
        return fileMenu;
    }

    public void setFileMenu(String fileMenu) {
        this.fileMenu = fileMenu;
    }

    public String getCreateFile() {
        return createFile;
    }

    public void setCreateFile(String createFile) {
        this.createFile = createFile;
    }

    public String getTable() {
        return table;
    }

    public void setTable(String table) {
        this.table = table;
    }

    public String getView() {
        return view;
    }

    public void setView(String view) {
        this.view = view;
    }

    public String getColumn() {
        return column;
    }

    public void setColumn(String column) {
        this.column = column;
    }

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    public String getFunction() {
        return function;
    }

    public void setFunction(String function) {
        this.function = function;
    }

    public String getProcedure() {
        return procedure;
    }

    public void setProcedure(String procedure) {
        this.procedure = procedure;
    }

    public String getTrigger() {
        return trigger;
    }

    public void setTrigger(String trigger) {
        this.trigger = trigger;
    }
}
